package com.bright.hxj.qchz.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.bright.ghj.common.mybatis.pojo.BaseEntity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hxj
 * @since 2025-01-07
 */
@Data
  @EqualsAndHashCode(callSuper = true)
    @TableName("taskAsync")
public class TaskAsync extends BaseEntity {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String taskId;

    private String userName;

    private String methodName;

    private Integer years;

    private String distNo;

    private String ztId;

    private String content;

    private String data;

    private Boolean runFlag;

    private Boolean okFlag;

    private Integer status;

    private String creator;

      @TableField(value = "createDate", fill = FieldFill.INSERT)
      private Date createDate;

    private String writer;

      @TableField(value = "writeDate", fill = FieldFill.INSERT_UPDATE)
      private Date writeDate;

    private Double duration;

    @TableField(exist = false)
    private String jsonData;


}
